Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


Getting The Bus Reference For a Device

The USBDeviceRefToBusRef function returns a pointer to the bus reference for the device specified with a device reference.

OSStatus USBDeviceRefToBusRef (
                     USBDeviceRef *deviceRef,
                     USBBusRef *busRef);

--> deviceRef
A pointer to an already established device reference for which you want the bus reference.
<-- busRef
A pointer to the bus reference.

© 1999 Apple Computer, Inc.

Previous | Back Up One Level | Next | Show Frames | Hide Frames